public class Classroom implements IVisitor{
    @Override
    public String visit(Student student) {
        return  "学生："+student.getStudentName()+"\t安排到:\tC4 103\t上课";
    }

    @Override
    public String visit(Teacher teacher) {
        return "教师："+teacher.getTeacherName()+"\t安排到：\tC6 507\t讲课";
    }

    @Override
    public String visit(Professor professor) {
        return "教授："+professor.getProfessorName()+"\t安排到：\tC5 405\t听课";
    }
}
